package com.ruoyi.report_tg.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 土的承载比(CBR)记录三视图对象 report_tg_tdczbjlbs_bs_info
 *
 * @author zyb
 * @date 2024-05-24
 */
@Data
@ExcelIgnoreUnannotated
public class TdczbjlbsBsInfoVo extends ExcelGeneralVo{

    private static final long serialVersionUID = 1L;

    /**
     * 一份excel表格的唯一id(其他的excel主表，都应有此字段）
     */
    @ExcelProperty(value = "一份excel表格的唯一id(其他的excel主表，都应有此字段）")
    private Long excelId;

    /**
     * 画图需要的数据
     */
    List<GeneralCharDataVo> chartData;

    /**
     * 共几页
     */
    @ExcelProperty(value = "共几页")
    private Long totalPage;

    /**
     * 第几页
     */
    @ExcelProperty(value = "第几页")
    private Long page;

    /**
     * 记录编号
     */
    @ExcelProperty(value = "记录编号")
    private String jilbh;

    /**
     * 检测单位名称
     */
    @ExcelProperty(value = "检测单位名称")
    private String jiancdwmc;

    /**
     * 工程部位/用途
     */
    @ExcelProperty(value = "工程部位/用途")
    private String gongcbwyt;

    /**
     * 样品名称
     */
    @ExcelProperty(value = "样品名称")
    private String yangpmc;

    /**
     * 样品编号
     */
    @ExcelProperty(value = "样品编号")
    private String yangpbh;

    /**
     * 样品数量
     */
    @ExcelProperty(value = "样品数量")
    private String yangpsl;

    /**
     * 样品状态
     */
    @ExcelProperty(value = "样品状态")
    private String yangpzt;

    /**
     * 样品时间
     */
    @ExcelProperty(value = "样品时间")
    private String yangpsj;

    /**
     * 试验检测日期
     */
    @ExcelProperty(value = "试验检测日期")
    private String shiyjcrq;

    /**
     * 试验条件温度
     */
    @ExcelProperty(value = "试验条件温度")
    private String shiytjwd;

    /**
     * 试验条件湿度
     */
    @ExcelProperty(value = "试验条件湿度")
    private String shiytjsd;

    /**
     * 检测依据
     */
    @ExcelProperty(value = "检测依据")
    private String jiancyj;

    /**
     * 判定依据
     */
    @ExcelProperty(value = "判定依据")
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @ExcelProperty(value = "主要仪器设备名称及编号")
    private String zhuyyqsbmcjbh;

    /**
     * 附加声明
     */
    @ExcelProperty(value = "附加声明")
    private String fujsm;

    /**
     * 最大干密度（g/cm3）
     */
    @ExcelProperty(value = "最大干密度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "g=/cm3")
    private BigDecimal zuidgmd;

    /**
     * 最佳含水率（%）
     */
    @ExcelProperty(value = "最佳含水率", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal zuijhsl;

    /**
     * 击实次数1
     */
    @ExcelProperty(value = "击实次数1")
    private Long jiscs1;

    /**
     * 击实次数2
     */
    @ExcelProperty(value = "击实次数2")
    private Long jiscs2;

    /**
     * 击实次数3
     */
    @ExcelProperty(value = "击实次数3")
    private Long jiscs3;

    /**
     * 压实度（%）1
     */
    @ExcelProperty(value = "压实度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal yasd1;

    /**
     * 压实度（%）2
     */
    @ExcelProperty(value = "压实度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal yasd2;

    /**
     * 压实度（%）3
     */
    @ExcelProperty(value = "压实度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal yasd3;

    /**
     * CBR（%）1
     */
    @ExcelProperty(value = "CBR", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal cbr1;

    /**
     * CBR（%）2
     */
    @ExcelProperty(value = "CBR", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal cbr2;

    /**
     * CBR（%）3
     */
    @ExcelProperty(value = "CBR", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "%=")
    private BigDecimal cbr3;

    /**
     * 压实度（ 93% )
     */
    @ExcelProperty(value = "压实度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "压实度（ 93% )")
    private BigDecimal yasd93;

    /**
     * 压实度（ 94% )
     */
    @ExcelProperty(value = "压实度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "压实度（ 94% )")
    private BigDecimal yasd94;

    /**
     * 压实度（ 96% )
     */
    @ExcelProperty(value = "压实度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "压实度（ 96% )")
    private BigDecimal yasd96;

    /**
     * 设备ids
     */
    private String shebIds;

    public void setZuidgmd(BigDecimal zuidgmd) {
        this.zuidgmd = BigDecimalUtil.stpTrailZero(zuidgmd);
    }

    public void setZuijhsl(BigDecimal zuijhsl) {
        this.zuijhsl = BigDecimalUtil.stpTrailZero(zuijhsl);
    }

    public void setYasd1(BigDecimal yasd1) {
        this.yasd1 = BigDecimalUtil.stpTrailZero(yasd1);
    }

    public void setYasd2(BigDecimal yasd2) {
        this.yasd2 = BigDecimalUtil.stpTrailZero(yasd2);
    }

    public void setYasd3(BigDecimal yasd3) {
        this.yasd3 = BigDecimalUtil.stpTrailZero(yasd3);
    }

    public void setCbr1(BigDecimal cbr1) {
        this.cbr1 = BigDecimalUtil.stpTrailZero(cbr1);
    }

    public void setCbr2(BigDecimal cbr2) {
        this.cbr2 = BigDecimalUtil.stpTrailZero(cbr2);
    }

    public void setCbr3(BigDecimal cbr3) {
        this.cbr3 = BigDecimalUtil.stpTrailZero(cbr3);
    }

    public void setYasd93(BigDecimal yasd93) {
        this.yasd93 = BigDecimalUtil.stpTrailZero(yasd93);
    }

    public void setYasd94(BigDecimal yasd94) {
        this.yasd94 = BigDecimalUtil.stpTrailZero(yasd94);
    }

    public void setYasd96(BigDecimal yasd96) {
        this.yasd96 = BigDecimalUtil.stpTrailZero(yasd96);
    }
}
